package com.jajahome.model;

import android.media.Image;

import java.io.Serializable;
import java.util.List;

/**
 *  vr model
 */
public class SchemeModel {

    /**
     * data : {"pagination":{"total":"3","count":1,"limit":12,"offset":1},"vr":[{"id":"13","name":"春花秋实","vr_image":{"small":"http://test.jajahome.com/gjj/backend/web/images/41c/403/a79/cd8/cdf8c51207fcc068ef14.png","thumb":"http://test.jajahome.com/gjj/backend/web/images/41c/403/a79/cd8/cdf8c51207fcc068ef14.png","url":"http://test.jajahome.com/gjj/backend/web/images/41c/403/a79/cd8/cdf8c51207fcc068ef14.png"}},{"id":"3","name":"锦绣之城3-1-31F","vr_image":{"small":"http://test.jajahome.com/gjj/backend/web/images/800/d8f/bf9/0d9/08c8d9b3cdba0010ccf6.jpg","thumb":"http://test.jajahome.com/gjj/backend/web/images/800/d8f/bf9/0d9/08c8d9b3cdba0010ccf6.jpg","url":"http://test.jajahome.com/gjj/backend/web/images/800/d8f/bf9/0d9/08c8d9b3cdba0010ccf6.jpg"}},{"id":"2","name":"杭州公馆vr案例","vr_image":{"small":"http://test.jajahome.com/gjj/backend/web/images/f4e/86f/9b1/00c/c74d81be27a05e3b97a1.jpg","thumb":"http://test.jajahome.com/gjj/backend/web/images/f4e/86f/9b1/00c/c74d81be27a05e3b97a1.jpg","url":"http://test.jajahome.com/gjj/backend/web/images/f4e/86f/9b1/00c/c74d81be27a05e3b97a1.jpg"}}]}
     * cmd : getAllVr
     * status : 0
     */

    private DataBean data;
    private String cmd;
    private int status;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getCmd() {
        return cmd;
    }

    public void setCmd(String cmd) {
        this.cmd = cmd;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public static class DataBean {
        /**
         * pagination : {"total":"3","count":1,"limit":12,"offset":1}
         * vr : [{"id":"13","name":"春花秋实","vr_image":{"small":"http://test.jajahome.com/gjj/backend/web/images/41c/403/a79/cd8/cdf8c51207fcc068ef14.png","thumb":"http://test.jajahome.com/gjj/backend/web/images/41c/403/a79/cd8/cdf8c51207fcc068ef14.png","url":"http://test.jajahome.com/gjj/backend/web/images/41c/403/a79/cd8/cdf8c51207fcc068ef14.png"}},{"id":"3","name":"锦绣之城3-1-31F","vr_image":{"small":"http://test.jajahome.com/gjj/backend/web/images/800/d8f/bf9/0d9/08c8d9b3cdba0010ccf6.jpg","thumb":"http://test.jajahome.com/gjj/backend/web/images/800/d8f/bf9/0d9/08c8d9b3cdba0010ccf6.jpg","url":"http://test.jajahome.com/gjj/backend/web/images/800/d8f/bf9/0d9/08c8d9b3cdba0010ccf6.jpg"}},{"id":"2","name":"杭州公馆vr案例","vr_image":{"small":"http://test.jajahome.com/gjj/backend/web/images/f4e/86f/9b1/00c/c74d81be27a05e3b97a1.jpg","thumb":"http://test.jajahome.com/gjj/backend/web/images/f4e/86f/9b1/00c/c74d81be27a05e3b97a1.jpg","url":"http://test.jajahome.com/gjj/backend/web/images/f4e/86f/9b1/00c/c74d81be27a05e3b97a1.jpg"}}]
         */

        private PaginationBean pagination;
        private List<VrBean> vr;

        public PaginationBean getPagination() {
            return pagination;
        }

        public void setPagination(PaginationBean pagination) {
            this.pagination = pagination;
        }

        public List<VrBean> getVr() {
            return vr;
        }

        public void setVr(List<VrBean> vr) {
            this.vr = vr;
        }

        public static class PaginationBean {
            /**
             * total : 3
             * count : 1
             * limit : 12
             * offset : 1
             */

            private String total;
            private int count;
            private int limit;
            private int offset;

            public String getTotal() {
                return total;
            }

            public void setTotal(String total) {
                this.total = total;
            }

            public int getCount() {
                return count;
            }

            public void setCount(int count) {
                this.count = count;
            }

            public int getLimit() {
                return limit;
            }

            public void setLimit(int limit) {
                this.limit = limit;
            }

            public int getOffset() {
                return offset;
            }

            public void setOffset(int offset) {
                this.offset = offset;
            }
        }

        public static class VrBean implements Serializable{
            /**
             * id : 13
             * name : 春花秋实
             * vr_image : {"small":"http://test.jajahome.com/gjj/backend/web/images/41c/403/a79/cd8/cdf8c51207fcc068ef14.png","thumb":"http://test.jajahome.com/gjj/backend/web/images/41c/403/a79/cd8/cdf8c51207fcc068ef14.png","url":"http://test.jajahome.com/gjj/backend/web/images/41c/403/a79/cd8/cdf8c51207fcc068ef14.png"}
             */

            private String id;
            private String name;
            private String brief;
            private ImageModel vr_image;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public String getBrief() {
                return brief;
            }

            public void setBrief(String brief) {
                this.brief = brief;
            }

            public void setName(String name) {
                this.name = name;
            }

            public ImageModel getVr_image() {
                return vr_image;
            }

            public void setVr_image(ImageModel vr_image) {
                this.vr_image = vr_image;
            }

        }
    }
}
